import React, { Component, Fragment } from "react";

import { Tabs } from "antd";

// 合并页面
import CloudRamUser  from "./User";
import CloudRamUserAk from "./UserAk";
import CloudRamUserPoliciy from "./UserPoliciy";
import CloudRamPoliciy from "./Policiy";


const { TabPane } = Tabs;

class Index extends Component {
    constructor(props){
        super(props);  
        this.setState = {} 
    }

    render(){
        return (
            <Fragment>
                <Tabs defaultActiveKey="1">
                    <TabPane tab="子账户列表" key="1">
                        <CloudRamUser />
                    </TabPane>
                    <TabPane tab="子账户AccessKey" key="2">
                        <CloudRamUserAk />
                    </TabPane>
                    <TabPane tab="子账户授权策略" key="3">
                        <CloudRamUserPoliciy />
                    </TabPane>
                    <TabPane tab="自定义授权策略" key="4">
                        <CloudRamPoliciy />
                    </TabPane>
                </Tabs>
            </Fragment>
        )
    }
}

export default Index;